Using Aspect-Orientation to Manage Database Statistics
نویسنده
چکیده
Database-internal statistics are very important for cost-based query optimizers. Only if an optimizer has accurate statistical information about data, it provides excellent execution plans for queries; if those statistics are out of date, then queries will be badly optimized and performance suffers. Unfortunately, a lot of database systems currently do not manage statistics adequately; they only offer means to let statistics be calculated, but it is up to the user to decide when to initiate the calculation. In fact, this is a critical task because the calculation takes some minutes and should only be done if really necessary. We present an effective approach that shifts the responsibility for managing the calculation of database statistics from the database system to applications. We show that aspect-orientation helps us to provide some automatic mechanism that concentrates the logic in one single aspect. This aspect decides for any application individually when to initiate a calculation of statistics for which tables.
منابع مشابه
Improving the Performance of Database Applications with Aspect-Oriented Programming
The performance of relational database applications often suffers. The reason is that query optimizers require accurate statistics about data in the database in order to provide optimal query execution plans. Unfortunately, the computation of these statistics must be initiated explicitly (e.g., within application code), and computing statistics takes some time. Moreover, it is not easy to decid...
متن کاملUsing Aspect-Orientation to Add Persistency to Applications
This paper presents a comfortable and customizable persistence framework that supports the access of relational databases from Java applications. In order to keep the effort for implementation low, we show how to benefit from aspect-orientation. The framework has advantages over existing mapping tools: Flexibility is higher as the functionality can be freely designed. We demonstrate flexibility...
متن کاملOptimization of form, aspect ratio and orientation of building based on solar radiation and wind direction (Case studies: Tabriz, Yazd and Bandar Abbas cities)
The renewable energies (such as solar energy), could be provided through designing architectural and urban spaces compatible with the climate and the ecosystem of the region, taking into consideration the architectural features of the building such as its form, dimensions and orientation. The purpose of this research was to determine the most suitable form, aspect ratio and orientation of the b...
متن کاملCombining Textual and Visual Cues for Content-based Image Retrieval on the World Wide Web
A system is proposed that combines textual and visual statistics in a single index vector for content-based search of a WWW image database. Textual statistics are captured in vector form using latent semantic indexing (LSI) based on text in the containing HTML document. Visual statistics are captured in vector form using color and orientation histograms. By using an integrated approach, it beco...
متن کاملRandomly oriented edge arrangements dominate naturalistic arrangements in binocular rivalry
Biological visual systems are highly adapted to the image statistics of the natural world. A particularly important aspect of the statistics of natural scenes is the arrangements of edges they contain. Here, we examined how different arrangements of edges influence human perceptual saliency using a binocular rivalry paradigm. We constructed fields of randomly positioned Gabor patches with orien...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007